home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacHack 1997
/
MacHack 1997.toast
/
Hacks
/
Hacks ’96
/
MFWM
/
Read Me
< prev
Wrap
Text File
|
1996-06-23
|
1KB
|
33 lines
M acintosh
F eable
W indow
M anager
For those who actually like X Window's ability to change the window focus by simply
moving the pointer into a window, check out this hack. It works by patching FrontWindow() to
return the window that the mouse is currently in. For those programs that follow Apple's
sample code (and all other sample code I've seen), this works well. However, some programs
(ie. the Finder) keep track of the foremost window on their own, which breaks the hack.
In general, the hack will break on pointing to a window and typing. Mouse events usually
work fine.
Of the few apps I've tested this with, I got the following compatibility results:
Application Mouse Keyboard
----------------------- ------- ---------
Finder Yes No
SimpleText Yes* Yes
Netscape Yes Yes
CodeWarrior IDE Yes No
NCSA Telnet No** No**
*One can select and deselect in background windows, but the hiliting won't redraw right.
**But I'm planing on fixing that one for personal use. If you want a copy, drop me a note.
I'd REALLY appreciate it if you would just drop me a note saying that you even tried
the hack. I'm really curious if anyone likes this besides myself. I'm planning on maintaining
this hack for personal use, so if you leave it on your system, be sure to drop me a line!
This hack goes to 11.
Rob Hagopian
hagopiar@mailhost.vu.union.edu
6/22/96
MacHack XI